import expense from './expense';
import bi from './bi';

var routers = [{
  path: '/tree',
  name: 'tree',
  component(resolve) {
    require(['../components/test/tree.vue'], resolve)
  }
}, {
  path: '/feeType2',
  name: 'feeType2',
  component(resolve) {
    require(['../test/feeType.vue'], resolve)
  }
}, {
  path: '/formItem',
  name: 'formItem',
  component(resolve) {
    require(['../test/formItem.vue'], resolve)
  }
},
  {
    path: '/iviewTree', name: 'iviewTree', component(resolve) {
    require(['../test/iview-tree.vue'], resolve)
  }
  },
  {
    path: '/layout', name: 'layout', component(resolve) {
    require(['../test/layout.vue'], resolve)
  }
  },
  {
    path: '/addLabel', name: 'addLabel', component(resolve) {
    require(['../test/addLabel.vue'], resolve)
  }
  },
  {
    path: '/table', name: 'table', component(resolve) {
    require(['../test/table.vue'], resolve)
  }
  },
  {
    path: '/modal', name: 'modal', component(resolve) {
    require(['../test/modal.vue'], resolve)
  }
  },
  {
    path: '/echart', name: 'echart', component(resolve) {
      require(['../test/echart.vue'], resolve)
    }
  },
  {
    path: '/home', name: 'home', component(resolve) {
      require(['../views/home.vue'], resolve)
    }
  }
];
export default routers.concat(expense).concat(bi);
